package general.constraints;

public class ArrayVariableConstraints implements VariableConstraints {

	boolean[][][] constraints;
	
	public ArrayVariableConstraints(boolean[][][] bs) {
		constraints = bs;
	}

	@Override
	public boolean hasConstraints(byte var2, byte val1, byte val2) {
		return constraints[var2]!=null && constraints[var2][val1][val2];
	}

}
